home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / hips / sources / 3d-tools / makefile.src < prev   
Encoding:
Makefile  |  1993-08-23  |  727 b   |  41 lines

  1. #
  2. # makefile for user-contributed/lbl/hips/sources/3d-tools
  3. #
  4.  
  5. DIRS = 3dmasks
  6.  
  7. PGMS = \
  8.     3dmask.out 3dog.out 3drotate.out 3drotate180.out 3drotate90.out \
  9.     3dslice.out dog2.out 3dmasks.out
  10.  
  11. LIBRARIES = $(LDFLAGS) -lscs1 -lccs $(LIBRARY) $(OTHERLIBS) $(OTHERLIB2)
  12. CPPFLAGS2 = $(CPPFLAGS) -I$(CCS_ROOT)/include -DHIPS_IMAGE
  13. MASKLOC = -DMY_LIB=\"$(MASK3DIR)/mask\"
  14.  
  15. .c.out:
  16.     $(LINKc) $* $< $(LIBRARIES) $(CPPFLAGS2) -DFITS_IMAGE
  17.     mv $* $(DESTDIR)
  18.     @touch $@
  19.  
  20. install:    $(PGMS)
  21.  
  22. clean:    clean-pgm
  23.     cd 3dmasks;    make clean
  24. clean-all:    clean_all
  25.     cd 3dmasks;    make clean-all
  26.  
  27. man:
  28.  
  29. doc:
  30.  
  31. pristine:    pristine-pgm
  32.     cd 3dmasks ; make pristine
  33.  
  34. # Routines which require special parameters
  35.  
  36. 3dmasks.out: FRC
  37.     cd 3dmasks ; make
  38.     @touch $@
  39.  
  40. FRC:
  41.